package com.gitee.liang521.generate.api.pojo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gitee.liang521.generate.api.pojo.entity.ColumnEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author liang zai
 * @date 2021/9/16 14:36
 * @description
 */
@Mapper
public interface ColumnDao extends BaseMapper<ColumnEntity> {

    /**
     *根据表名查询表的所有列
     * @param tableNames 表名集合
     * @return 表的列表数据
     */
    List<ColumnEntity> getByTableNames(List<String> tableNames);
}
